package com.hyt.it.ogt.pj.data.mapper.pj;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hyt.it.ogt.pj.data.model.entity.pj.Paper;

/**
 * <p>
 * 试卷表 Mapper 接口
 * </p>
 *
 * @author qiaozj
 * @since 2020-07-09
 */
public interface PaperMapper extends BaseMapper<Paper> {
	
	
	List<Paper> selectParersBySubjectId(
			@Param("projectId") String projectId, 
			@Param("subjectId") String subjectId);
	
	
	Paper existPaper(
			@Param("projectId") String projectId,
			@Param("subjectId") String subjectId, 
			@Param("paperId") String paperId,
			@Param("paperVersion") Integer paperVersion, 
			@Param("packageVersion") Integer packageVersion);

}
